package com.wuliu.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuliu.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wuliu.common.core.domain.BaseEntity;

/**
 * 二维码管理对象 bas_qrcode
 * 
 * @author realue
 * @date 2023-10-30
 */
@ApiModel
public class BasQrcode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    private String id;

    /** 类型 1.业务员小程序码 2.站点小程序码 */
    @Excel(name = "类型 1.业务员小程序码 2.站点小程序码")
    @ApiModelProperty(value = "类型 1.业务员小程序码 2.站点小程序码")
    private Integer type;

    /** type=1:sys_applet_user->user_Id;type=2:sys_dept->dept_id */
    @Excel(name = "type=1:sys_applet_user->user_Id;type=2:sys_dept->dept_id")
    @ApiModelProperty(value = "type=1:sys_applet_user->user_Id;type=2:sys_dept->dept_id")
    private Long qrId;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String qrName;

    /** 二维地址 */
    @Excel(name = "二维地址")
    @ApiModelProperty(value = "二维地址")
    private String qrCodeUrl;

    /** 账套号 */
    @Excel(name = "账套号")
    @ApiModelProperty(value = "账套号")
    private String sysAccount;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setQrId(Long qrId) 
    {
        this.qrId = qrId;
    }

    public Long getQrId() 
    {
        return qrId;
    }
    public void setQrName(String qrName) 
    {
        this.qrName = qrName;
    }

    public String getQrName() 
    {
        return qrName;
    }
    public void setQrCodeUrl(String qrCodeUrl) 
    {
        this.qrCodeUrl = qrCodeUrl;
    }

    public String getQrCodeUrl() 
    {
        return qrCodeUrl;
    }
    public void setSysAccount(String sysAccount) 
    {
        this.sysAccount = sysAccount;
    }

    public String getSysAccount() 
    {
        return sysAccount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("qrId", getQrId())
            .append("qrName", getQrName())
            .append("qrCodeUrl", getQrCodeUrl())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("sysAccount", getSysAccount())
            .toString();
    }
}
